How can we establish an or condition in a regex pattern. I would like to match the following in a string ">" OR "/>". How can I do that using regex?

Recommended Answers

All 2 Replies

I am also having the same problem in regex match to a pattern OR another pattern what should be done.....

Can you post your input string and expected output string?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.