Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
`
^@(.*?){(.*?),((.|\n)*?)+(}}|\n})+$
`
gm
Input 1
@inproceedings{martens2010deep, title={Deep learning via Hessian-free optimization}, author={Martens, James}, booktitle={Proceedings of the 27th International Conference on Machine Learning (ICML-10)}, pages={735--742}, year={2010} } @article-journal{AAA, url = {http://www.example.com}, year = {2016}, month = {}, publisher = {Elsevier}, journal = {{AAA Journal}}, author = {Austin Anderson and Austin Arnold}, title = {{Nothing To See Here}}, } @article-journal{ZZZ, url = {http://www.example.com}, year = {2016}, month = {}, publisher = {Elsevier}, journal = {{ZZZ Journal}}, author = {Austin Zyzygy}, title = {{Moving On Up}}, } @article-journal{InstMed2001, url = {http://www.ncbi.nlm.nih.gov/pubmed/25057539}, year = {2001}, month = {}, publisher = {{National Academy of Sciences}}, doi = {10.17226/10027}, volume = {}, number = {}, pages = {}, pmid = {25057539}, pmcid = {}, journal = {{}}, author = {{National Academy of Sciences}}, title
Substitution
{\"id\":\"${2}\",\"type\":${1},\"content\":[{${3}]}}
@inproceedings{martens2010deep, title={Deep learning via Hessian-free optimization}, author={Martens, James}, booktitle={Proceedings of the 27th International Conference on Machine Learning (ICML-10)}, pages={735--742}, year={2010} } @article-journal{AAA, url = {http://www.example.com}, year = {2016}, month = {}, publisher = {Elsevier}, journal = {{AAA Journal}}, author = {Austin Anderson and Austin Arnold}, title = {{Nothing To See Here}}, } @article-journal{ZZZ, url = {http://www.example.com}, year = {2016}, month = {}, publisher = {Elsevier}, journal = {{ZZZ Journal}}, author = {Austin Zyzygy}, title = {{Moving On Up}}, } @article-journal{InstMed2001, url = {http://www.ncbi.nlm.nih.gov/pubmed/25057539}, year = {2001}, month = {}, publisher = {{National Academy of Sciences}}, doi = {10.17226/10027}, volume = {}, number = {}, pages = {}, pmid = {25057539}, pmcid = {}, journal = {{}}, author = {{National Academy of Sciences}}, title