This is a test version of Biostars. For the public version, visit https://www.biostars.org.
regular expression on Notepad+++

There are thousand regular expressions in my sheet like 'space2spaceABCC5', I want to replace it as 'ABCC5'. I tried to find the regular expression as ' (\d) ([A-Z0-9]+)' and replace it as '\2'. But the Notepad++ told me that 'Find:invalid regular expression'. Please help me out on this. Thank you very much.

regular expression

Hello chenmengutd!

We believe that this post does not fit the main topic of this site.

This is not related to bioinformatics

For this reason we have closed your question. This allows us to keep the site focused on the topics that the community can help with.

If you disagree please tell us why in a reply below, we'll be happy to talk about it.

Cheers!

I can't help it, I'm compelled to answer the question anyway.

Find what: ^\s\d\s

Replace with:

To be clear: don't put anything in the "replace with" field. That should work if I'm understanding your query correctly.

0 answers

No answers yet.

Log in to answer this question.