Regex: positive lookahead
19 June 2022 (Updated 30 October 2022)
Match a q that is immediately followed by a u, without making the u part of the match.
q(?=u)
Match a q that is followed by a u (doesn’t have to be immediately after), without making the u part of the match.
q.*(?=u)
Sources / related
Tagged:
Regex
References (3)
Posts that link to this one.
Mentions (3)
Posts this one links to.