Back
4 mins read

Regular Expressions Hidden in the Templates

If we engaged a function to detect joy into our application, it would certainly return negative values whenever a PPC Bee user encounters regular expressions. Regular expression became one of the scary functions, although they are a very powerful element of our application.
By
Michaela Zákopčaníková
| Jul 26, 2016
Let´s sum up what regular expressions are. “A regular expression is a combination of characters that maps patterns in text and allows their search or replacement. Its most fundamental application is similar to the “Find and Replace” function that you know well e.g. from MS Excel. If you manage large PPC campaigns, you deal with large amounts of data. Editing them using RegExps is much easier. They can, for example, remove all the text in brackets or all the colors.” But this is only a per mille of what you can do with RegExps. Most of you know what RegExp is good for this or that. You have entered some 700 unique ones into our application! This also proves that RegExps are true helpers for you.

That is why we decided to simplify your work with them.

The first step towards this includes templates of the most frequently used RegExps which we put wherever you can encounter RegExps in the App. No longer you have to keep sitting at the computer and ruminating over the correct form of a regular expression when removing unwanted text, numbers and characters. Just click and you’re done!

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHNDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--264d05816a5419356da1ffb4bef5ec9bc6d673da/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/0-0*L3CiSSHT2-J42qhl.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHNDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--264d05816a5419356da1ffb4bef5ec9bc6d673da/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/0-0*L3CiSSHT2-J42qhl.png




How to use the regular expression template?

Let´s look at the example of “find and replace” in editing a keyword generator. Click in the first box where you start editing the command “find”.

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHdDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--59dd18fbec19d357c7a1166e0e46bb27900ac674/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/1-0*9hYHk8vHfe6he-Wm.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHdDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--59dd18fbec19d357c7a1166e0e46bb27900ac674/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/1-0*9hYHk8vHfe6he-Wm.png


Then click “Examples of regular expressions” above the entry boxes.

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDBDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--08c17301ac199c97cf01d8e6a6c602f235d56ef6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/2-0*09U4PB1qFMKg0Y0K.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDBDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--08c17301ac199c97cf01d8e6a6c602f235d56ef6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/2-0*09U4PB1qFMKg0Y0K.png


This activates a window where you can see an overview of basic regular expressions.

https://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDRDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--3755755dfca55048a648378dcb92b3b7d0834199/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQWxnQ2FRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--b1b529f8dfa4cfc5545b605b986d2f12cc3d32fa/3-0*3e3Ly-swk-PSxHvM.pnghttps://blogadmin.ppcbee.com/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDRDIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--3755755dfca55048a648378dcb92b3b7d0834199/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9VY21WemFYcGxYM1J2WDJ4cGJXbDBXd2RwQXJBRWFRT2doZ0U9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--21b5f9fec4a1a26d9fca8e4bc575ac97c48ec932/3-0*3e3Ly-swk-PSxHvM.png



You choose the regular expression that you need. Use the + sign to add it in the entry box at the start of editing. Your selection closes the window and you can continue editing.

If you don’t find a suitable RegExp template, you can, of course, enter your own RegExp. Or use a template which you then adjust to your image. So far, you cannot define your own templates. If you want to include you unique RegExp in the list, let us know. We’ll add it.

Currently we are going through your 700 RegExps and choosing such onesthat can be helpful for more users. Thus the template list is not complete, it will grow gradually.

Read more about RegExps in our earlier-published but still topical blogpost. Don’t forget to let us know how you like working with RegExp templates. We’re looking forward to your feedback as always at info@ppcbee.com or through our chat application or on the Web.

Michaela Zákopčaníková
Editor of PPC Bee
Start your 30-day free trial
Cancel anytime. No credit card required
Sign up with Google account
You're already signed in
Jump into PPC Bee

Related articles

Read more

We’ve Cut the Synchronization Time by 70%

PPC Bee manages advertising campaigns of different sizes — from campaigns with several ad groups to campaigns that use millions of keywords and hundreds of thousands of ad texts. Campaigns of this magnitude bring about many technological challenges, one of them being the necessity to make sure that generation and synchronization are being done at an acceptable speed.

By Michaela ZákopčaníkováNov 26, 2018 | 3 mins read

Read more

Creating Brand Campaigns in PPC Bee

Have you ever wondered if one can create a brand campaign in PPC Bee? Up until recently, it wasn’t possible. But if you use Google Sheets as your data feed, it’s no longer an issue!

By Adam VašendaJan 10, 2020 | 6 mins read

Read more

More Efficient Campaigns with PPC Tuner

PPC Bee helps you to easily create and manage campaigns with millions of products. However, the sheer amount of generated data can make automation a bit complicated.

By Michaela ZákopčaníkováJan 29, 2019 | 4 mins read