# Use it to write any regular expression to extract document info from title.
# One line consists of process name on which to run the regex, the other is the regex to use. 
# Values are divided by tab.
# For example 
# notepad	[TAB] regex
#
# Lets take notepad as an example. Notepad title usually consists of a document name then minus and then Notepad
# Document1 - Notepad
#
# The following line will try to extract document info for notepad
# notepad	(.*?)-[^-]*$
#
# Regex (.*?)-[^-]*$ will get all text before the last minus character, so in above example Document1
#
# If you include more than one capture group, first non empty one will be used

notepad	(.*?)-[^-]*$
AcroRd32	(.*?)-[^-]*$
Foxit Reader	.*?\[([^\[]*)\]$
#powerpnt	(.*?) - Microsoft PowerPoint$|Microsoft PowerPoint - (.*?)$
#winword	(.*?) - Microsoft Word$|Microsoft Word - (.*?)$
#excel	(.*?) - Microsoft Excel$|Microsoft Excel - (.*?)$

#VLC detects media playing as documents
vlc	(.*?) - [^-]*$
notepad++	\*?(.*?) - [^-]*$
#Detects chats as documents
steam	(.*?) - [^-]*$
#Anything but Audcaity
audacity	([^Audacity].*?)$
#Pidgin...This is gonna be a long one, detects chats as documents
pidgin	([^Buddy List|^Accounts|^Buddy Pounces|^Certificate Manager|^Plugins|^Custom Smiley Manager|^Preferences|^Privacy|^Pidgin|^File Transfers|^Room List|^System Log|^Modify Account|^Set User Info|^MOTD for .*?|^Join a Chat|^Buddy Information|^Conversations with .*?|^Add Buddy|^Add Chat|^Add Group|^Buddy Comment for .*?|^Buddy Icon|^Pidgin Build Information|^Debug Window|^Pidgin Developer Information|^Pidgin Translator Information|^About Pidgin|^Open File...|^Invite Buddy Into Chat Room].*?)$
#Based off CS5
afterfx	Adobe After Effects - (.*?)$
dreamweaver	.*\[(.*?)\]$
contribute	.*\[(.*?)\*?\]$
adobe encore	(.*?) - Adobe Encore.*$
extendscript toolkit	\*?(.*\.js.*?)$
fireworks	(.*?) : .*? @ .*$
flashbuilder	Flash - (.*?) - Flash Builder$
adobe flash catalyst	Adobe Flash Catalyst - (.*?) @.*?$
#Yeah you have to save it with one of these extensions...
flash	(.*[\.as|\.fla|\.xfl|\.asc|\.jsfl|\.txt|\.xml|\.cel|\.swf|\.flv])\*?$
illustrator	(.*?)\*? @ .*$
indesign	\*?(.*?) @ .*$
adobe premiere pro	Adobe Premiere Pro - (.*?)\*?$
adobe soundbooth cs5	Adobe Soundbooth CS5 - (.*?)\*?$

#PowerDirector 8
pdr8	(.*\.pds)$

#AutoCAD
acad	.* - \[(.*)\]$

#Autodesk 3ds Max...9's title is different from 2010's
3dsmax	(.*\.[a-zA-Z]*) *.*$

#VMWare Workstation
vmware	(.*) - .*$
#VMWarePlayer
vmplayer	(.*) - .*$

#Calibre When you are reading a book
calibre-parallel	E-book Viewer - (.*)$

#eclipse
eclipse	.* - (.*?) - Eclipse$
#Netbeans, unfortunately only gives the project name...though i guess if you use alot of main.java's it's better
netbeans	(.*) - .*$

# total commander Lister
totalcmd	.*?\[([^\]]*)\]$

gvim	(.*?)[ +]*\([^(]*$
yap	.*\[([^\[]*)\]$
msaccess	.* \- ([^:]*).*$
foobar2000	(.*)\[[^\]]*\]$
dcadwin	.*?\[([^\]]*)\]$