I just started using this program and am currently stuck on a small issue.
here's my regex:
(\[.*\])(.*)
\2
for turning
[tag]filename.txt
to
filename.txt
this works fine if there is no space in the name, but if i have a space, it takes the whole filename out leaving just the extension
from
[tag] filename.txt
to
.txt
how would i Modify this expression to this to take into account that there MAY be a space?
Thanks in advance