Skip to content

Search using gID from title use custom regular expressions #925

Answered by Difegue
zizzdog asked this question in Q&A
Discussion options

You must be logged in to vote

Ah my bad you're asking about the EH plugin -- I'd recommend throwing the regex into something like regex101 to experiment, but basically /\[([0-9]+)\]/g just checks if the name starts with a bracketed GID.

I guess for you something like /([0-9]+)-/g would work.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zizzdog
Comment options

Answer selected by Difegue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #923 on December 16, 2023 23:19.