Jump to content

match value after = sign


doug007

Recommended Posts

there are ways to do this without regex and you should use them before regex, regex is for pattern matching.. Using regex will always be a slower alternative, so if there IS an alternative you should use it :)

 

but the regex would be

 

/^?[^=]+=(.*)$/

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.