 Short quotes or short-hand quotes are meta-characters to shorten the regular expression by using a single meta-character to represent several characters. And there are a number of short quotes available which can be used to represent a wide variety of things such as white space which includes tabs, spaces, new lines and so forth. Other short quotes meta-character are used to represent digits or characters. In short, short-code meta-character are used to represent more than one character or a range of characters. Most common short-code is backslash d which is little bit more straightforward. This meta-character is used to only match digits from 0 to 9. And the next short-code meta-character is backslash capital D which does opposite things from the above meta-character. It means it matches anything which is not a digit. You can achieve the same thing by adding the negative character in number range like this. Now next short-code meta-character is backslash w which is used to represent a word character. You might think at first that this is only means alphabetical character but it is not quite right. In regular expression a word character is represent anything from capital A to capital Z, lower case capital A to Z and digits from 0 to 9 and underscore. You can achieve the same thing using this regex. And then there is a next short-code is backslash capital W which does the opposite things from the above character. It means it matches anything that is not a word character. So yes there is an alternate regex which does the same thing like this. Now next short-code meta-character is backslash S which is used to represent any white space character and this includes any spaces, tabs, new lines etc. And capital S does the opposite things. It matches any known white space characters. Okay so now you have an idea of what short-code meta-character do. This short-code meta-character saves you a lot of typing. Now let's move on to the demo part so you can learn how to use these short-code meta-character in your expression. Alright so in this demo we will use the same tool which we have used in the previous demo part. So here in the input text I have defined some statement but in some pattern. Firstly the first statement contains only characters, second statement contains character and numeric word, third statement contains only digits, fourth statement contains only spaces and the fifth statement contains character and spaces. Now first let us write the regex but using character class and then we will use the short-code to see the effect. So let me add the character range. Now here I am entering the regex to the beginning and to the end of the string. So we can see the effect properly. So as you can see that this regex matches the first three test strings. Now let's change this character range to short-code and see if we get the same result. So if I add slash w over here then again we will get the same result. Now let us try the digit short-code. Yes it works as expected. It matches only digit statement. Now what if I add the backslash s then yes it matches now spaces. Okay now what about combining the short-code in character class? Say for example if I add slash w over here did you observe the difference? Now it matches all the statement as we combine the backslash w and backslash s in character class. Now what I want is say I want to match anything other than digit. Let me add capital D. So now it started matching the character other than digit. Now let's say I want to exclude digit as well as spaces. So for that let us match the digit and space first digit and space. But my requirement is I want to exclude this digit and space. So for that let me add the negative character over here. So now it matches only characters. Alright now let's jump into the next demo. Alright so here in the input text I have defined some list of HL7 files and from them say I want to find an HL7 file which start with the three word character followed by six digit date. So for that one can write a simple regular expression by using backslash w shortcode character and backslash d character like this followed by underscore backslash d HL7. Now here let me add the anchor in the start of the rejects so that it will not matching the last file name because it is not starting with the first three characters. So as you can see here that now this regular expression started matching the file which start with the first three character followed by underscore and followed by six digit date. Well now this regular expression looks little bit lengthy so I can make it short by using range quantifier. So let me add the range quantifier for backslash w like this and then for digit. So this time again we will get the same result. Yes now it looks much better than the previous one right. So this is how the shortcodes saves a lot of typing. Alright now let us move on to the next fundamentals.