Can phpstorm do search,copy,paste with regexp ...and how?

Hi all
i need to copy some data from a LOT of files all data is enclosed in a specific tag <contentdata> the stuff i need </contentdata>. I need all thes datablocks to be copy/paste to 1 filem (Excel or CSV)
can PHPstorm do this kind of automation? i have know knowledge of regexp nor file management in PHPstorm.
Can PHPstorm do this:
- assign folder with all HTMLfiles
- search HTMLfile
- find datablock using a rexexp
- COPY content
- switch to new file PASTE
- switch back to next HTMLfile
and so on

Tnx
Bob

1 comment

Hi there,

Can PHPstorm do this:
- assign folder with all HTMLfiles
- search HTMLfile

Yes

- find datablock using a rexexp

Yes .. but not multi-line fragment (only single line). At very least this is my impression.

- COPY content
- switch to new file PASTE
- switch back to next HTMLfile

Nope -- this is not a job for IDE -- you need to use some automation software instead (and in this case you will not need PhpStorm here), something like AutoMate, RoboTask etc

0

Please sign in to leave a comment.