0

I have the following RegEx

@version:\'(?:CKEditor )?([\d\.]+)(?:.+revision:\'([\d]+))?@

And it should match

version:"4.0 Beta"

and return 4.0 Beta

But it doesn't seem to be working? Am I missing something?

1 Answer 1

2

Your regex matches a single quote, not a double quote. Try the following instead.

@version:\"(?:CKEditor )?([\d\.]+)(?:.+revision:\"([\d]+))?@
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.